class Car:
    # 类属性

    def drive(self,speed):
        self.wheels = 4
        print(f"driving~~~~~{speed}~~~~~")

    @classmethod
    def stop(cls):
        print("stop++++++++++++")

    @staticmethod
    def test():
        print("test===================")


car1 = Car()
car1.drive(100)
print(car1.wheels)
# print(Car.wheels)  type object 'Car' has no attribute 'wheels'
car1.color = "red"
print(car1.color)